﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SocialPhotos.Models;
//using SocialPhotos.Widgets.LatestPhotos;
//using SocialPhotos.Widgets.TopRatePhotos;

namespace SocialPhotos.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            //HomeViewModel viewModel = new HomeViewModel();
            //this.Initialize(viewModel, null);

            //IPhotoTopRateController topRatePhotoController = new PhotoTopRateCotroller();
            //viewModel.TopRatePhotoViewModel = topRatePhotoController.GetViewModel(6);

            //ILatestPhotoController latestPhotoController = new LatestPhotoController();
            //viewModel.LatestPhotoViewModel = latestPhotoController.GetViewModel(6);

            //return View(viewModel);
            return View();
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
